cmake_minimum_required(VERSION 3.5)

project(test-so-lib)

set(CMAKE_CXX_STANDARD 11)

add_library(test 
	SHARED
	appExample.cpp
)

target_include_directories(test PUBLIC "${PROJECT_SOURCE_DIR}")

add_executable("${PROJECT_NAME}" cMain.c)

target_include_directories("${PROJECT_NAME}"
			 INTERFACE 
			 "${PROJECT_SOURCE_DIR}")

target_link_libraries("${PROJECT_NAME}" test)
